<%-- 
    Document   : actionDeleteTest
    Created on : Oct 30, 2009, 4:07:57 PM
    Author     : khanhlv_b00554
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
       <%
            int id = Integer.parseInt(request.getParameter("id"));
        %>
        <jsp:useBean id="ObjectA" class="DAO.DAOAction" scope="request" />
        <%
            if (ObjectA.deleteTest(id) == true) {
                response.sendRedirect("../displayTestQuestion.jsp");
            } else {
                out.println("Khong thanh cong");
            }
        %>
    </body>
</html>
